Skip to content

chore(code): set billing redirect URL to scroll to phc item#3521

Merged
trunk-io[bot] merged 1 commit into
mainfrom
07-16-chore_code_set_billing_redirect_url_to_scroll_to_phc_item
Jul 16, 2026
Merged

chore(code): set billing redirect URL to scroll to phc item#3521
trunk-io[bot] merged 1 commit into
mainfrom
07-16-chore_code_set_billing_redirect_url_to_scroll_to_phc_item

Conversation

@adboio

@adboio adboio commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Problem

all the billing buttons just go to the top of the billing page

it's a confusing page to scroll through

Changes

set query param so the link auto-scrolls to the phc usage based plan section

How did you test this?

manually

Automatic notifications

  • Publish to changelog?
  • Alert Sales and Marketing teams?

@trunk-io

trunk-io Bot commented Jul 16, 2026

Copy link
Copy Markdown

😎 Merged directly without going through the merge queue, as the queue was empty and the PR was up to date with the target branch - details.

adboio commented Jul 16, 2026

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions

github-actions Bot commented Jul 16, 2026

Copy link
Copy Markdown

React Doctor found no issues in the changed files. 🎉

Reviewed by React Doctor for commit b4640e2.

@adboio adboio added the Stamphog This will request an autostamp by stamphog on small changes label Jul 16, 2026 — with Graphite App
@adboio
adboio marked this pull request as ready for review July 16, 2026 17:33

@stamphog stamphog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gates denied this PR because it touches billing code. This is a billing URL change that needs human review — please request a review from a team member before re-requesting auto-approval.

@stamphog stamphog Bot removed the Stamphog This will request an autostamp by stamphog on small changes label Jul 16, 2026
@adboio
adboio requested a review from a team July 16, 2026 17:34
@greptile-apps

greptile-apps Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "chore(code): set billing redirect URL to..." | Re-trigger Greptile

): string | null {
return getPostHogUrl("/organization/billing/overview", regionOverride);
return getPostHogUrl(
"/organization/billing/overview?products=posthog_code_usage",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Billing URL Tests Expect Old Path

The parameterized getBillingUrl tests for US and EU still expect the billing overview URL without this query string. Both cases now receive ?products=posthog_code_usage, so the existing test suite fails until those expectations are updated.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did i fix them all coach

@adboio adboio added the Create Release This will trigger a new release label Jul 16, 2026 — with Graphite App
@adboio
adboio force-pushed the 07-16-chore_code_set_billing_redirect_url_to_scroll_to_phc_item branch from dd7d1f0 to b4640e2 Compare July 16, 2026 17:39
@trunk-io
trunk-io Bot merged commit 0b69cb9 into main Jul 16, 2026
32 checks passed
@trunk-io
trunk-io Bot deleted the 07-16-chore_code_set_billing_redirect_url_to_scroll_to_phc_item branch July 16, 2026 17:48
@github-actions

Copy link
Copy Markdown

Could not verify team-posthog-code membership (GitHub API error). Auto-release is limited to Team PostHog Code members, so this will ship with the next scheduled release instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Create Release This will trigger a new release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants